#ifndef KVDB_BASE_BASE_DEFINES_H_
#define KVDB_BASE_BASE_DEFINES_H_

namespace kvdb {
enum KvdbQueryType {
  KVDB_NONE,
  KVDB_REPLACE,
  KVDB_DELETE,
  KVDB_SEARCH
};
const unsigned char KVDB_RESULT_FAILURE = 1;
const unsigned char KVDB_RESULT_SUCCEED = 0;

const int PARSE_NEED_MORE_DATA = 1;
const int PARSE_ERROR = 2;
const int PARSE_DONE = 0;
}

#endif //  KVDB_BASE_BASE_DEFINES_H_